package com.sbl.bajw.pc.service;

import java.util.HashMap;
import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.sbl.bajw.mapper.StreetCaseTModelDao;
import com.sbl.bajw.pc.model.policeCaseTModel;

@Service
public class StreetCaseTModelService {

	@Resource
	private StreetCaseTModelDao dao;
	
	public List<policeCaseTModel> getAllByOrg(HashMap<String, Object> parm){
		List<policeCaseTModel> list = dao.getAllByOrg(parm);
		return list;
	}
	
	public List<policeCaseTModel> getAllByOrgAndLevel(HashMap<String, Object> parm){
		List<policeCaseTModel> list = dao.getAllByOrgAndLevel(parm);
		return list;
	}
	
	public List<policeCaseTModel> getAllByOrgAndOrgLevel(HashMap<String, Object> parm){
		List<policeCaseTModel> list = dao.getAllByOrgAndOrgLevel(parm);
		return list;
	}
	
	public List<HashMap<String, String>> getModelsByOrgLevel(HashMap<String, Object> parm){
		List<HashMap<String, String>> list = dao.getModelsByOrgLevel(parm);
		return list;
	}
	
	public policeCaseTModel getModelsById(String parm){
		policeCaseTModel list = dao.getModelsById(parm);
		return list;
	}
}
